<?php
/**
 * Created by PhpStorm.
 * User: Thans
 * Date: 2018/6/1
 * Time: 下午10:47
 */

namespace app\admin\controller\view;

use app\admin\facade\Options;
use app\common\controller\Admin;

class OptionsController extends Admin
{
    public function index()
    {
        $upload       = Options::read('upload');
        $publicupload = Options::read('publicupload');
        $this->assign('upload', $upload['data']);
        $this->assign('publicupload', $publicupload['data']);
        return $this->fetch();
    }
}
